/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.capex.javaee.applets;

import java.awt.*;
import java.applet.*;

public class imageapplet extends Applet {

    Image img1;

    @Override
    public void init() {
        img1 = getImage(getCodeBase(), "image.gif");
    }

    @Override
    public void paint(Graphics g) {
        g.drawImage(img1, 0, 0, 50, 50, this);
        g.drawImage(img1, 50, 50, 100, 100, this);
        g.drawImage(img1, 150, 150, 200, 200, this);
    }
}
